package com.sayno.wrench.dynamic.config.center.config;

import org.springframework.boot.context.properties.ConfigurationProperties;

import static com.sayno.wrench.dynamic.config.center.types.common.Constants.LINE;

/**
 * @description:
 * @author: Administrator
 * @createTime: 2025/5/13 22:09
 */

@ConfigurationProperties(prefix = "sayno.wrench.config", ignoreUnknownFields = true)
public class DynamicConfigCenterAutoConfigProperties {

    private String system;


    public String getKey(String application) {
        return system + LINE + application;
    }


    public String getSystem() {
        return system;
    }

    public void setSystem(String system) {
        this.system = system;
    }
}
